/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.home.logic;

import com.home.dao.AccountDao;
import com.home.mapping.Account;

/**
 *
 * @author pnduy
 */
public class AccountLogic {
    /**
     * 
     * @param username
     * @param password
     * @return 
     */
    public Account findAccountForLogin(String username, String password) {
        Account acc = new Account();
        acc = new AccountDao().findAccountForLogin(username, password);
        return acc; 
    }
}
